package com.gkoudai.open.platform.handler;

import com.gkoudai.open.platform.client.SocketIoClient;

/**
 * @author : Amater
 * @date : 2024/10/28 20:47
 */
public interface DataHandler {
    void connectError(Object... objects);

    void connect(String connectMsg);

    void disconnect(Object... objects);

    void quotesResponseHandler(String quoteResponse);

    void subscribeQuoteResponseHandler(String response);

    void subscribeNewsResponseHandler(String response);

    void subscribeStockQuoteResponseHandler(String response);

    boolean beforeReconnect(SocketIoClient socketIoClient);

    void  afterReconnect(SocketIoClient socketIoClient);

    void subscribeNewFuturesQuoteListener(String response);

    void newFuturesQuoteDataListener(String response);
}
